package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppIndustry;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppUserChannel;
import com.syni.mdd.sjb.common.datatreaure.entity.bo.userChannel.ChannelBo;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rp.userChannel.GetCertificationBusinessRpVo;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rq.industry.GetAllIndustryVo;

import java.util.Map;

/**
 * <p>
 * 电享生活行业表 服务类
 * </p>
 *
 * @author cfx
 * @since 2020-04-24
 */
public interface DxshAppIndustryService extends IService<DxshAppIndustry> {

    int[] noShowOtherIndustryArr = {4};

    Map<String, Object> getAllIndustry(GetAllIndustryVo getAllIndustryVo);

    void postHandleUserChannel(ChannelBo channelBo);

    void postHandleUserChannel(DxshAppUserChannel dxshAppUserChannel);

    void postHandleIsShowOther(DxshAppUserChannel dxshAppUserChannel, GetCertificationBusinessRpVo getCertificationBusinessRpVo);

    void chooseIndustry(Integer userId, Integer industryId);

    void chooseIndustry(Integer userId, String industryName);

    DxshAppIndustry getIndustryByIndustryName(String industryName);

    Map<String, Object> getBusinessType(Integer userId);
}
